<?php

namespace app\model;

use Illuminate\Database\Eloquent\SoftDeletes;
use support\Model;

class Base extends Model
{
    protected $dateFormat = "U";
    protected $hidden = ["deleted_at"];
    protected $guarded = ['id'];

    protected $casts = [
        "created_at" => "date:Y-m-d H:i:s",
        "updated_at" => "date:Y-m-d H:i:s"
    ];
}